﻿namespace WentStateMachine
{
    public interface IStateMachineController
    {
        void Start();
        void Play(string stateName);
        void Play(string stateName, int layer);
        void Play(int stateNameHash);
        void Play(int stateNameHash, int layer);
        void SetBool(string name, bool value);
        void SetBool(int id, bool value);
        void SetFloat(int id, float value);
        void SetFloat(string name, float value);
        void SetInteger(int id, int value);
        void SetInteger(string name, int value);
        void SetTrigger(int id);
        void SetTrigger(string name);
        void Stop();
        void SetGlobalParam(string name, object param);
        object GetGlobalParam(string name);
        IStateInfo GetCurrentStateInfo(int layerIndex);
    }
}
